package webbandidong.bo;

import java.util.List;
import webbandidong.model.Mobile;
import webbandidong.viewmodel.SearchMobileViewModel;

public interface MobileBO {

    public List<Mobile> getAllMobiles();
    public Mobile getMobileById(int id);
    public String addMobile(Mobile mobile);
    public String updateMobile(Mobile mobile);
    public String deleteMobile(Mobile mobile);
    public List<Mobile> getMobilesCriteria(SearchMobileViewModel model, int page);
    public List<Mobile> getMobilesCriteria(SearchMobileViewModel model);
}
